/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-27     zylx         first version
 */
 
#ifndef __DRV_QSPI_H_
#define __DRV_QSPI_H_
#include <rtthread.h>

int NandFlash_read(rt_uint32_t addr, rt_uint8_t *buf, size_t size);
int NandFlash_write(rt_uint32_t addr, const rt_uint8_t *buf, size_t size);
int NandFlash_erase(rt_uint32_t addr, size_t size);

#endif
